Websydian v6.1 online documentationOnline documentation - WebsydianExpress v3.5

ExtWebViewPage

Scoped name

WSYEXTJS/ExtWebViewPage

Note that this abstract function is placed in the WSYEXTJS model.

Purpose

This is an abstract PageGenerator that can be used if you want to have a page that shows detail information about a record outside a WebEditSuite. This page is designed for use in the Ext JS for WebsydianExpress framework.

The PageGenerator includes a Cancel EventHandler:

Usage

You must start by creating a function that inherits from ExtWebViewPage:

Source Object Verb Target Object
MyViewPage is a FNC WSYEXTJS/ExtWebViewPage

Then you must specify the entity to show records for by replacing the UiBasic.Detail view with your Fetch view

Source Object Verb Target Object
MyViewPage replaces VW

...by VW

UIBASIC/UiBasic.Detail

MyEntity.Fetch

Finally, you must enter calls to a PageGenerator in the Cancel EventHandler.

Special considerations

In many cases, you will get the view page as part of a WebEditSuite - either by inheriting from ExtWebEditDialog or from ExtWebEditSuite.

More information